package com.boot.service;

import com.boot.entity.Purchapply;
import com.boot.entity.PurchapplyCheck;

import java.util.List;
import java.util.Map;

public interface IPurchaseRequestService {

    List<Purchapply> listPurchaseApply(String purchapplyStatus, String documentNumber,String powerName,Integer companyId);

    Integer getPurchapplyRequestCount(String purchapplyStatus, String documentNumber,String powerName,Integer companyId);

    Map<String,Object> getPurchaseDetail(Integer purchapplyId);

    Map<String, Object> getDetailName(Integer purchapplyId);

    Map<String, Object> getCoalQualityMap(Integer purchapplyId);

    List<Map<String, Object>> getPurchaseApplyAuditList(Integer purchapplyId);

    Map<String, Object> getPurchaseApplyCreateInfo(Integer purchapplyId);

    Boolean auditPurchaseApply(PurchapplyCheck purchapplyCheck);

    Integer getAuditAgreeCount(Integer purchapplyId, String checkOpinion);

    Boolean updatePurchapplyStatus(Integer purchapplyId,String status);
}
